import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from "axios";
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// 注册ElementUI
Vue.use(ElementUI)
// 全局配置axios
Vue.prototype.$axios = axios
axios.defaults.baseURL = process.env.VUE_APP_API_BASE_URL || '/api'
Vue.config.productionTip = false



new Vue({
    router,
    store,
    render: function (h) {
        return h(App)
    }
}).$mount('#app')
